package com.xique.door.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xique.common.core.domain.R;
import com.xique.common.core.web.domain.AjaxResult;
import com.xique.common.core.web.domain.PageResult;
import com.xique.door.bean.domain.ResourceBit;

public interface IResourceBitService extends IService<ResourceBit> {
    PageResult getResourceBitList(
            ResourceBit resourceBit,
            String startTime,
            String endTime,
            Integer pageNum,
            Integer pageSize,
            String userName,
            String exhibitionStatus);

    R insertResourceBit(ResourceBit resourceBit);

    R getResourceBit(Long id);

    R updateResourceBit(ResourceBit resourceBit);

    R updateStatus(Long id, String status);

    R deleteResourceBit(Long id);

    AjaxResult getAdvertisementList(Integer position, Integer positionType);
}
